﻿<%@ Page Language="c#" CodeBehind="Hotel.aspx.cs" AutoEventWireup="false" Inherits="BEGDC.CC.Web.SystemManagement.Hotel" %>

<%@ Register TagPrefix="iewc1" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls" %>
<%@ Register TagPrefix="uc1" TagName="PageNavigation" Src="../UserControls/PageNavigation.ascx" %>
<%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <title>Alcatel-Lucent Customer Care</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <link href="../css/style.css" type="text/css" rel="stylesheet" />
    <link href="../css/form.css" type="text/css" rel="stylesheet" />

    <script language="JavaScript" src="../js/common.js" type="text/javascript"></script>

    <script language="VBScript" src="../js/alert.vbs" type="text/vbscript"></script>

    <script language="JavaScript" src="../js/calendarcode.js" type="text/javascript"></script>

    <script language="javascript" type="text/javascript">
        function showLegalForm(id) {
            var code = window.showModalDialog('ShowHotelForm.aspx?id=' + id, '', 'dialogHeight:300px;dialogWidth:400px;dialogTop:px;dialogLeft:px;center:Yes;scroll:yes;resizable:yes;status:no;');
            //window.Form1.txtOperation.value = code;
        }
    </script>

</head>
<body>
    <form id="Form1" method="post" runat="server">
    <table id="Table1" cellspacing="0" cellpadding="0">
        <tbody>
            <tr>
                <td>
                    <uc1:PageNavigation ID="PageNavigation1" runat="server"></uc1:PageNavigation>
                    <a href="../UserControls/PageNavigation.ascx"></a>
                </td>
            </tr>
            <tr>
                <td>
                    <table id="Table11" cellspacing="0" cellpadding="0">
                        <tbody>
                            <tr>
                                <td>
                                    <table id="Table8" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td>
                                                &nbsp;
                                            </td>
                                            <td>
                                                <table id="Table9" cellspacing="0" cellpadding="0">
                                                    <!--DWLayoutTable-->
                                                    <tr>
                                                        <td>
                                                            <table id="Table4" cellspacing="0" cellpadding="0">
                                                                <tr>
                                                                    <td>
                                                                        <table id="Table5" cellspacing="2" cellpadding="0">
                                                                            <tr>
                                                                                <td>
                                                                                    <span>Legal Entity Maintenance</span>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <table cellspacing="0" cellpadding="0">
                                                                            <tr>
                                                                                <td>
                                                                                    <table id="Table10" cellspacing="0" cellpadding="0">
                                                                                        <tr>
                                                                                            <td>
                                                                                                &nbsp;&nbsp;
                                                                                                <asp:ImageButton ID="btnExport" runat="server" ImageUrl="../images/bbw_export.gif">
                                                                                                </asp:ImageButton>
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td colspan="3">
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td colspan="3">
                                                                                    <table>
                                                                                        <tr>
                                                                                            <td colspan="3">
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr>
                                                                                            <td colspan="3">
                                                                                                <asp:DataGrid ID="dgHotel" AutoGenerateColumns="False" AllowSorting="True" ShowHeader="True"
                                                                                                    GridLines="both" CellPadding="2" runat="server" PageSize="10" AllowPaging="True"
                                                                                                    PagerStyle-Visible="False">
                                                                                                    <SelectedItemStyle></SelectedItemStyle>
                                                                                                    <ItemStyle></ItemStyle>
                                                                                                    <HeaderStyle></HeaderStyle>
                                                                                                    <FooterStyle></FooterStyle>
                                                                                                    <Columns>
                                                                                                        <asp:BoundColumn Visible="False" DataField="HotelID"></asp:BoundColumn>
                                                                                                        <asp:BoundColumn DataField="HotelNameCN" HeaderText="Name" ReadOnly="True" SortExpression="HotelNameCN">
                                                                                                            <ItemStyle Wrap="False"></ItemStyle>
                                                                                                        </asp:BoundColumn>
                                                                                                        <asp:BoundColumn DataField="HotelNameEN" HeaderText="English Name" ReadOnly="True"
                                                                                                            SortExpression="HotelNameEN">
                                                                                                            <ItemStyle Wrap="False"></ItemStyle>
                                                                                                        </asp:BoundColumn>
                                                                                                        <asp:BoundColumn DataField="Address" HeaderText="Address" ReadOnly="True">
                                                                                                            <ItemStyle Wrap="False"></ItemStyle>
                                                                                                        </asp:BoundColumn>
                                                                                                        <asp:BoundColumn DataField="Telephone" HeaderText="Telephone" ReadOnly="True">
                                                                                                            <ItemStyle Wrap="False"></ItemStyle>
                                                                                                        </asp:BoundColumn>
                                                                                                        <asp:BoundColumn DataField="Fax" HeaderText="Fax" ReadOnly="True">
                                                                                                            <ItemStyle Wrap="False"></ItemStyle>
                                                                                                        </asp:BoundColumn>
                                                                                                        <asp:BoundColumn DataField="StarLevel" HeaderText="StarLevel" ReadOnly="True" SortExpression="StarLevel">
                                                                                                            <ItemStyle Wrap="False"></ItemStyle>
                                                                                                        </asp:BoundColumn>
                                                                                                        <asp:BoundColumn DataField="Location" HeaderText="StarLevel" ReadOnly="True" SortExpression="Location">
                                                                                                            <ItemStyle Wrap="False"></ItemStyle>
                                                                                                        </asp:BoundColumn>
                                                                                                        <asp:TemplateColumn HeaderText="Action">
                                                                                                            <HeaderStyle></HeaderStyle>
                                                                                                            <ItemTemplate>
                                                                                                                <asp:ImageButton ImageUrl="../Images/COMEDIT.gif" ID="imageLegal" CommandName="SetType"
                                                                                                                    runat="server"></asp:ImageButton>
                                                                                                            </ItemTemplate>
                                                                                                        </asp:TemplateColumn>
                                                                                                    </Columns>
                                                                                                    <PagerStyle HorizontalAlign="Center" Visible="False" Mode="NumericPages"></PagerStyle>
                                                                                                </asp:DataGrid><br />
                                                                                                <table id="Table3" cellspacing="0" cellpadding="0">
                                                                                                    <tr>
                                                                                                        <td>
                                                                                                            Total Records:
                                                                                                            <asp:Label ID="lblRecordCount" runat="server">lblRecordCount</asp:Label>
                                                                                                            &nbsp;&nbsp;&nbsp;
                                                                                                            <img src="../images/PageIcon.GIF" alt="" />&nbsp;Page:
                                                                                                            <asp:Label ID="lblCurrentPageIndex" runat="server">lblCurrentPageIndex</asp:Label>&nbsp;/&nbsp;
                                                                                                            <asp:Label ID="lblPageCount" runat="server">lblPageCount</asp:Label>
                                                                                                        </td>
                                                                                                        <td>
                                                                                                            <asp:ImageButton ID="btnPageFirst" runat="server" ImageUrl="../images/pg_first.gif"
                                                                                                                ImageAlign="AbsMiddle"></asp:ImageButton>&nbsp;
                                                                                                            <asp:ImageButton ID="btnPagePrev" runat="server" ImageUrl="../images/pg_pre.gif"
                                                                                                                ImageAlign="AbsMiddle"></asp:ImageButton>&nbsp;
                                                                                                            <asp:ImageButton ID="btnPageNext" runat="server" ImageUrl="../images/pg_next.gif"
                                                                                                                ImageAlign="AbsMiddle"></asp:ImageButton>&nbsp;
                                                                                                            <asp:ImageButton ID="btnPageLast" runat="server" ImageUrl="../images/pg_last.gif"
                                                                                                                ImageAlign="AbsMiddle"></asp:ImageButton>&nbsp; Go To Page:
                                                                                                            <asp:TextBox ID="txtPage" onmouseover="this.className='TEXTBOXHOVER';" onmouseout="this.className='TEXTBOX';"
                                                                                                                runat="server" MaxLength="5"></asp:TextBox>
                                                                                                            <asp:ImageButton ID="btnGotoPage" runat="server" ImageUrl="../images/PageIcon.GIF">
                                                                                                            </asp:ImageButton>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                </table>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr>
                                                                                            <td colspan="3">
                                                                                                <fieldset>
                                                                                                    <legend>
                                                                                                        <asp:Label ID="lbAddHotel" runat="server">Add Hotel</asp:Label></legend>
                                                                                                    <table>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lbHotelName" runat="server">Hotel Name</asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtNewLegalName" onmouseover="this.className='TEXTBOXHOVER';" onmouseout="this.className='TEXTBOX';"
                                                                                                                    runat="server" MaxLength="50"></asp:TextBox>
                                                                                                                <span id="span2" runat="server">*</span>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:ImageButton ID="btnNewHotel" runat="server"></asp:ImageButton>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <asp:Label ID="lbDescription" runat="server">Location</asp:Label>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <font>
                                                                                                                    <asp:DropDownList ID="ddlLocation" runat="server">
                                                                                                                    </asp:DropDownList>
                                                                                                                </font>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <font></font>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                Enabled
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:CheckBox ID="chkEnabled" runat="server"></asp:CheckBox>
                                                                                                            </td>
                                                                                                            <td>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                    </table>
                                                                                                </fieldset>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr>
                                                                                            <td colspan="3">
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                        <p>
                                                                            &nbsp;</p>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <br />
                                                                        <br />
                                                                        <br />
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                            <td>
                                                &nbsp;
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
    </form>
</body>
</html>
